package main.java.com.entity;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 分类
 */
public class Category implements Serializable {



    private Long id;
    private Integer type;
    private String name;
    private Integer sort;
    private Date create_time;
    private Date update_time;
    private Long create_user;
    private Long update_user;
    public Category() {
    }

    public Category(Long id, Integer type, String name, Integer sort, Date create_time, Date update_time, Long create_user, Long update_user) {
        this.id = id;
        this.type = type;
        this.name = name;
        this.sort = sort;
        this.create_time = create_time;
        this.update_time = update_time;
        this.create_user = create_user;
        this.update_user = update_user;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    public Long getCreate_user() {
        return create_user;
    }

    public void setCreate_user(Long create_user) {
        this.create_user = create_user;
    }

    public Long getUpdate_user() {
        return update_user;
    }

    public void setUpdate_user(Long update_user) {
        this.update_user = update_user;
    }
}
